#include "ModelDuck.h"

#include "FlyNoWay.h"
#include "Quack.h"

#include <cstddef>
#include <iostream>

ModelDuck::ModelDuck(){
	this->flyBehavior = new FlyNoWay();
	this->quackBehavior = new Quack();
}

ModelDuck::~ModelDuck(){
	delete this->flyBehavior;
	this->flyBehavior = NULL;

	delete this->quackBehavior;
	this->quackBehavior = NULL;
}

void ModelDuck::display(){
	std::cout << "ModelDuck display()" << std::endl;
}